<%@page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="checklogin.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
    <META http-equiv=Content-Type content="text/html; charset=UTF-8">
    <LINK href="Admin_Style.css" type=text/css rel=stylesheet>
    <title>Excel文件下载</title>
</head>
<body>

<%
        String filenames[] = {"bts.xls", "B级防雷器.xls", "交直流配电.xls", "交通状况.xls", "传输.xls", "动换监控.xls", "变压器.xls", "固定式油机发电机组.xls", "基站供电归属及外聘发电人员联系电话.xls", "基站地理环境.xls", "塔放.xls", "天馈系统.xls", "市电引入.xls", "机房情况.xls", "灭火器.xls", "电源柜.xls", "空调.xls", "蓄电池.xls", "铁塔.xls"};%>

<table cellpadding="2" cellspacing="1" border="0" width="500" class="border" align="center" style="margin-top:100px;">
<FORM name="excelform" action="nnBTSExport.jsp" method="post">
  <tr align='center'><td height='22' class='title' colspan="2"><strong>下载</strong></td></tr>
                <%for (int i = 0; i < filenames.length; i++) {%>
                <tr>
                    <td width="50%" align="left" class='tdbg'><a href=Download?fileindex=<%=i%>><%=filenames[i]%></a>　</td>
                    <% 
					++i;
					if (i < filenames.length) {
                    %>
                    <td width="50%" align="left" class='tdbg'><a href=Download?fileindex=<%=i%>><%=filenames[i]%></a>　</td>
                    <%}else{%>
					<td class='tdbg'>&nbsp;</td>
					<%}%>
                </tr>
                <%}%>
                  <tr>
                    <td width="100%" class='tdbg' align="center" colspan="2"><br>
                        <a href="nnBTSExport.jsp">返回</a><br>
                    </td>
                </tr>
</form>
</table>

</body>
</html>